import styles from './index.less';
import Upperright from '../rightcomp/upperright/upperright';
import RightLower from '../rightcomp/rightlower/rightlower';
import { useDispatch } from 'umi';
import { useEffect } from 'react';

export default function Right() {
  const dispatch = useDispatch();
  useEffect(() => {
    dispatch({
      type: 'tag/getTag',
    });
  }, []);
  return (
    <div className={styles.sticky}>
      <Upperright />
      <RightLower />
    </div>
  );
}
